// pages/change_name/change_name.js
var app = getApp();
Page({
    data: {
        user_num:''
    },

    new_name:function(e){
        this.setData({
            user_num:e.detail.value
        })
    },

    // 保存按钮
    finish_change_name:function(){
        wx.navigateTo({
          url: '/pages/user/user',
        })

        app.globalData.user_phone_num=this.data.user_num
    }
})